package com.example.testpulsar.mq.configforpulsar;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "jms.pulsar")
public class PulsarProperties {
    private String url;
    private String operationTimeout;
    private String numIoThreads;
    private String keepAliveInterval;
    private String duration;
    private String enableBatching;
    private String sendTimeout;
    private String blockIfQueueFull;
    private String compressionType;
    private String batcherBuilder;
    private String ackTimeout;
    private String subscriptionInitialPosition;
    private String redeliveryDelay;
    private String enable;

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getOperationTimeout() {
        return operationTimeout;
    }

    public void setOperationTimeout(String operationTimeout) {
        this.operationTimeout = operationTimeout;
    }

    public String getNumIoThreads() {
        return numIoThreads;
    }

    public void setNumIoThreads(String numIoThreads) {
        this.numIoThreads = numIoThreads;
    }

    public String getKeepAliveInterval() {
        return keepAliveInterval;
    }

    public void setKeepAliveInterval(String keepAliveInterval) {
        this.keepAliveInterval = keepAliveInterval;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getEnableBatching() {
        return enableBatching;
    }

    public void setEnableBatching(String enableBatching) {
        this.enableBatching = enableBatching;
    }

    public String getSendTimeout() {
        return sendTimeout;
    }

    public void setSendTimeout(String sendTimeout) {
        this.sendTimeout = sendTimeout;
    }

    public String getBlockIfQueueFull() {
        return blockIfQueueFull;
    }

    public void setBlockIfQueueFull(String blockIfQueueFull) {
        this.blockIfQueueFull = blockIfQueueFull;
    }

    public String getCompressionType() {
        return compressionType;
    }

    public void setCompressionType(String compressionType) {
        this.compressionType = compressionType;
    }

    public String getBatcherBuilder() {
        return batcherBuilder;
    }

    public void setBatcherBuilder(String batcherBuilder) {
        this.batcherBuilder = batcherBuilder;
    }

    public String getAckTimeout() {
        return ackTimeout;
    }

    public void setAckTimeout(String ackTimeout) {
        this.ackTimeout = ackTimeout;
    }

    public String getSubscriptionInitialPosition() {
        return subscriptionInitialPosition;
    }

    public void setSubscriptionInitialPosition(String subscriptionInitialPosition) {
        this.subscriptionInitialPosition = subscriptionInitialPosition;
    }

    public String getRedeliveryDelay() {
        return redeliveryDelay;
    }

    public void setRedeliveryDelay(String redeliveryDelay) {
        this.redeliveryDelay = redeliveryDelay;
    }
}
